<div class="students view">
<h2><?php  __('View Student');?></h2>

<!-- Student View-->
<div class="widfats" style="width: 72%">
    <div class="widget" id="widget_basic">
        <div class="toggle">&nbsp;</div>
        <h3 class="handle"><?php __('Personal Information'); ?></h3>
        <div class="content">
            <?php //debug($student); ?>
            <div class="table">
            <table class="two">
                <!-- Personal Information -->
                <tr>
                    <td class="title" colspan="4"><?php __('Basic Information'); ?></td>
                </tr>
                <tr>
                    <td class="key"><?php __('Student Name'); ?></td>
                    <td class="value"><?php e($student['Student']['name']); ?></td>
                    <td class="key"><?php __('Student Gender'); ?></td>
                    <td class="value"><?php e($student['Student']['gender']); ?></td>
                </tr>
                <tr>
                    <td class="key"><?php __('Student Birthday'); ?></td>
                    <td class="value"><?php e($student['Student']['birthday']); ?></td>
                    <td class="key"><?php __('Student Minority'); ?></td>
                    <td class="value"><?php e($student['StudentMinority']['name']); ?></td>
                </tr>
                 <tr>
                    <td class="key"><?php __('Student Province'); ?></td>
                    <td class="value"><?php e($student['StudentProvince']['name']); ?></td>
                    <td class="key"><?php __('Student Political'); ?></td>
                    <td class="value"><?php e($student['Student']['political']); ?></td>
                </tr>
                <!-- Registration information -->
                <tr>
                    <td class="title" colspan="4"><?php __('Registration Information'); ?></td>
                </tr>
                <tr>
                    <td class="key"><?php __('Student Number'); ?></td>
                    <td class="value"><?php e($student['Student']['number']); ?></td>
                    <td class="key"><?php __('Student Class'); ?></td>
                    <td class="value"><?php e($student['Student']['class']); ?></td>
                </tr>
                <tr>
                    <td class="key"><?php __('Student Academic'); ?></td>
                    <td class="value"><?php e($student['Student']['academic']); ?></td>
                    <td class="key"><?php __('Student Degree'); ?></td>
                    <td class="value"><?php e($student['Student']['degree']); ?></td>
                </tr>
                <!-- Contanct Information -->
                <tr>
                    <td class="title" colspan="4"><?php __('Contact Information'); ?></td>
                </tr>
                <tr>
                    <td class="key"><?php __('Student Phone'); ?></td>
                    <td class="value"><?php e($student['Student']['phone']); ?></td>
                    <td class="key"><?php __('Student Email'); ?></td>
                    <td class="value"><?php e($text->autoLinkEmails($student['Student']['email'],
                        array('title' => sprintf(__('Send email to: %s', true), $student['Student']['name']), 'rev'=>'external')
                    )); ?></td>
                </tr>
            </table>
            </div>
        </div>
    </div>
    <div class="widget" id="widget_campus">
        <div class="toggle">&nbsp;</div>
        <h3 class="handle"><?php __('Student Resume'); ?></h3>
        <div class="content">
            <?php if(isset($student['StudentResume']['id'])): ?>
            <div class="table">
            <table class="one">
                <!-- Resume Information -->
                <tr>
                    <td class="title" colspan="4"><?php __('Resume Information'); ?></td>
                </tr>
                <tr>
                    <td class="key"><?php __('Resume Intention'); ?></td>
                    <td class="value"><?php e($student['StudentResume']['intention']); ?></td>
                </tr>
                <tr>
                    <td class="key"><?php __('Resume Education'); ?></td>
                    <td class="value"><?php e($student['StudentResume']['education']); ?></td>
                </tr>
                <tr>
                    <td class="key"><?php __('Resume Award'); ?></td>
                    <td class="value"><?php e($student['StudentResume']['awards']); ?></td>
                </tr>
                <tr>
                    <td class="key"><?php __('Resume Abilities'); ?></td>
                    <td class="value"><?php e($student['StudentResume']['ability']); ?></td>
                </tr>
            </table>
            </div>
            <?php else: ?>
                <p><?php __('No resume for the student yet'); ?></p>
            <?php endif; ?>
        </div>
    </div>
</div>

</div>